<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>管理员登录界面</title>
    <meta name="description" content="">
    <meta name="keywords" content="">


    <link href="https://fonts.googleapis.com/css?family=Work+Sans:300,400,700" rel="stylesheet">

    <link rel="stylesheet" href="/assets/css/bootstrap/bootstrap.css">
    <link rel="stylesheet" href="/assets/css/animate.css">
    <link rel="stylesheet" href="/assets/fonts/ionicons/css/ionicons.min.css">

    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">

    <link rel="stylesheet" href="/assets/fonts/flaticon/font/flaticon.css">

    <link rel="stylesheet" href="/assets/fonts/fontawesome/css/font-awesome.min.css">

    <link rel="stylesheet" href="/assets/css/select2.css">


    <link rel="stylesheet" href="/assets/css/helpers.css">
    <link rel="stylesheet" href="/assets/css/style.css">

    <style>
        a.ex2:hover, a.ex2:active {
            color: #149d5b;
            font-size: 150%;
        }

    </style>

</head>
<body>



<nav class="navbar navbar-expand-lg navbar-dark probootstrap_navbar" id="probootstrap-navbar">
    <div class="container">
        <a class="navbar-brand" href="/index">My Way</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#probootstrap-menu" aria-controls="probootstrap-menu" aria-expanded="false" aria-label="Toggle navigation">
            <span><i class="ion-navicon"></i></span>
        </button>
        <div class="collapse navbar-collapse" id="probootstrap-menu">
            <ul class="navbar-nav ml-auto">
                <li class="nav-item active"><a class="nav-link" href="/admin">管理员登陆</a></li>
                <li class="nav-item"><a class="nav-link" href="/admin/order" >后台订单列表</a></li>
                <li class="nav-item"><a class="nav-link" href="/admin/checkoutlist">退票信息</a></li>
                <li class="nav-item"><a class="nav-link" href="/admin/user">后台用户管理</a></li>
            </ul>
        </div>
    </div>
</nav>
<!-- END nav -->


<section class="probootstrap-cover overflow-hidden relative"  style="background-image: url('/assets/images/bg_1.jpg');" data-stellar-background-ratio="0.5" id="section-home">
    <div class="overlay"></div>
    <div class="container">
        <div class="row align-items-center">
            <div class="col-md">
                <h2 class="heading mb-2 display-4 font-light probootstrap-animate text-center">管理员登陆</h2>
                </br></br></br></br></br>
            </div>
            <div class="col-md probootstrap-animate">

                <form action="/admin" class="probootstrap-form" method="post" th:object="${user}">

                    <div class="form-group">
                        <label for="user_id"  required="true" class="sr-only sr-only-focusable">用户名</label>
                        <input type="text" required="true"  class="form-control" id="user_id" name="uId" placeholder="用户名" th:field="*{uId}">
                    </div>

                    <div class="form-group">
                        <label for="user_password" class="sr-only sr-only-focusable">密码</label>
                        <input type="password" required="true" class="form-control" id="user_password" name="uPassword" placeholder="请输入密码" th:field="*{uPassword}">

                    </div>


                    <div class="row mb-3">
                        <div class="col-md">
                            <div class="form-group">
                                <span th:text="${msg1}" + !></span>
                                <br>
                                <input type="submit" value="登录" class="btn btn-primary btn-block"/>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        </br></br></br></br></br></br></br>
        <div class="col-md-12 text-center">
            <p style="color:white;" class="probootstrap_font-14">Copyright © 2019 . My Way 麦味 · 酒店订购</p>
        </div>
</section>
<!-- END section -->

<script src="/assets/js/jquery.min.js"></script>

<script src="/assets/js/popper.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/owl.carousel.min.js"></script>

<script src="/assets/js/jquery.waypoints.min.js"></script>
<script src="/assets/js/jquery.easing.1.3.js"></script>

<script src="/assets/js/select2.min.js"></script>

<script src="/assets/js/main.js"></script>
</body>
</html>